package com.itlong.cloud.paymenthub;

import com.itlong.cloud.POJO.DTO.operate.ParkingRecordPageDTO;
import com.itlong.cloud.POJO.DTO.property.PropertyMonthCardPaymentRecordGetPageDTO;
import com.itlong.cloud.POJO.VO.property.PropertyMonthCardPaymentRecordGetPageVO;
import com.itlong.cloud.POJO.VO.property.PropertyTemporaryCarFeeRecordVO;
import com.itlong.cloud.utils.page.Page;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <desc>
 *      物业-智慧停车-停车缴费记录接口暴露.
 * </desc>
 *
 * @createDate 2018/11/5
 */
@FeignClient(name = "payment-hub-service")
public interface IPropertyParkingFeeRecordServiceClient {

    /**
     * <desc>
     *      临时车缴费记录分页查询
     * <desc/>
     *
     * @param feeRecordDTO 分页查询参数
     * @return 标准返回结果
     * @author Juguang.S
     * @createDate 2018/11/5
     */
    @PostMapping(path = "/property/parking/getTemporaryCarFeeRecordPage")
    Page<PropertyTemporaryCarFeeRecordVO> getTemporaryCarFeeRecordPage(@RequestBody ParkingRecordPageDTO feeRecordDTO) throws Exception;

    /**
     * <desc>
     *      月卡缴费记录分页查询
     * <desc/>
     *
     * @param propertyMonthCardPaymentRecordGetPageDTO 分页查询参数
     * @return 分页结果
     * @author wangzhi
     * @createDate 2018/11/08
     */
    @PostMapping(path = "/property/parking/getMonthCardPaymentRecordPage")
    Page<PropertyMonthCardPaymentRecordGetPageVO> getMonthCardPaymentRecordPage(@RequestBody PropertyMonthCardPaymentRecordGetPageDTO propertyMonthCardPaymentRecordGetPageDTO) throws Exception;
}
